var createLoginQuery = function() {
	var args = {
		timeout : 15000,
		delay : 1000,
		key : 'posts/update',
		onSuccess : function(response) {
			if (this == window.delicious)
				canvasRotater.setIcon($('logged_in'));
			this.notifyLogin();
			this.loginCallback({
						result : 'success',
						loginId : args.job.id
					});
			var xmlDoc = response.responseXML;
			this.updatedTime = new Date();
			this.updatedTime.setISO8601(xmlDoc
					.evaluate('/update/@time', xmlDoc).iterateNext().value);
		},
		onError : function(response) {
			if (this == window.delicious)
				canvasRotater.setIcon($('not_logged_in'));
			this.loginCallback({
						result : 'failed',
						loginId : args.job.id
					});
		},
		onTimeout : function() {
			if (this == window.delicious)
				canvasRotater.setIcon($('not_logged_in'));
			this.loginCallback({
						result : 'timeout',
						loginId : args.job.id
					});
		}
	};
	return args;
}